import Home from '../pages/home'
import React from 'react'

const Login = React.lazy(() => import('../pages/login'))
const My = React.lazy(() => import('../pages/my'))

const routes = [
  {
    path: '/',
    element: <Home />
  },
  {
    path: '/login',
    element: <Login />
  },{
    path: '/my',
    element: <My />
  }
]
export default routes